package com.qf.cx.simplenms.link.rai.model;

import java.util.ArrayList;
import java.util.List;
import com.sun.jna.Structure;


public class ReadPara extends Structure{
	
	public int antennaId;
	public int readOpNum;
	public TagMaskInfo[] tagMaskInfo = new TagMaskInfo[2];
	public ReadOpInfo[]  readOp = new  ReadOpInfo[RaiLimit.MAX_OP_NUM];	
	
	{
		for(int i =0; i < 2; i++)
		{
			tagMaskInfo[i] = new TagMaskInfo();
		}
		
		for(int i = 0; i < RaiLimit.MAX_OP_NUM; i++)
		{
			readOp[i] = new ReadOpInfo();
		}
	}
	
	public static class ByValue  extends ReadPara implements Structure.ByValue  { }		
	public static class ByReference extends ReadPara implements Structure.ByReference { }
	
    @Override  
    protected List<String> getFieldOrder() {  
        List<String> a = new ArrayList<String>();  
        a.add("antennaId");   
        a.add("readOpNum");  
        a.add("tagMaskInfo");
        a.add("readOp");   
        return a;  
    }  
}
